package site.wtcc.originalfavor.dao.entity.osUser.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import site.wtcc.originalfavor.func.common.persistence.BasePageRequest;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author hxd
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OsUser请求对象", description="")
public class OsUserPageRequest extends BasePageRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "昵称（用户名）")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户权限")
    private String userLevel;

    @ApiModelProperty(value = "0 女 1 男 其他性别")
    private String userSex;

    @ApiModelProperty(value = "头像")
    private String userAvator;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间（默认等于创建时间）")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "1 删除")
    private String deleteTag;
}
